package cn.com.nes.site.controller.system.vo;

import cn.com.nes.site.entity.vo.BaseVO;
import cn.com.nes.site.service.system.user.bo.QueryInstallUsersBO;
import lombok.Data;
import org.springframework.beans.BeanUtils;

import javax.validation.constraints.NotNull;

@Data
public class QueryInstallUserVO extends BaseVO {

    /**
     * 项目ID或UUID
     */
    private String projectIdOrUuid;

    /**
     * 部门ID
     */
    private String departmentId;

    public QueryInstallUsersBO convertToBo() {
        QueryInstallUsersBO bo = new QueryInstallUsersBO();
        BeanUtils.copyProperties(this, bo);
        return bo;
    }

}
